package com.site.war.domain;

import com.site.common.annotation.Excel;
import com.site.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 预警信息对象 site_warning_message
 * 
 * @author site
 * @date 2023-10-10
 */
public class SiteWarningMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 工地隐患编号 */
    @Excel(name = "工地隐患编号")
    private Long siteWarningId;

    /** 工地编号 */
    @Excel(name = "工地编号")
    private String siteNumber;

    /** 工地名称 */
    @Excel(name = "工地名称")
    private String siteName;

    /** 预警信息 */
    @Excel(name = "预警信息")
    private String siteContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSiteWarningId(Long siteWarningId) 
    {
        this.siteWarningId = siteWarningId;
    }

    public Long getSiteWarningId() 
    {
        return siteWarningId;
    }
    public void setSiteNumber(String siteNumber) 
    {
        this.siteNumber = siteNumber;
    }

    public String getSiteNumber() 
    {
        return siteNumber;
    }
    public void setSiteName(String siteName) 
    {
        this.siteName = siteName;
    }

    public String getSiteName() 
    {
        return siteName;
    }
    public void setSiteContent(String siteContent) 
    {
        this.siteContent = siteContent;
    }

    public String getSiteContent() 
    {
        return siteContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("siteWarningId", getSiteWarningId())
            .append("siteNumber", getSiteNumber())
            .append("siteName", getSiteName())
            .append("siteContent", getSiteContent())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
